package com.jxdinfo.hussar.example.common.schedulingtask.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxdinfo.hussar.example.common.schedulingtask.model.MesProductOrderInfo;
import com.jxdinfo.hussar.example.common.schedulingtask.model.MoMo;
import com.jxdinfo.hussar.support.datasource.annotations.HussarDs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 乔镔
 * @since 2024-03-21
 */
@Mapper
@Repository("com.jxdinfo.hussar.example.schedulingtask.dao.MoMoMapper")
@Deprecated
public interface MoMoMapper extends BaseMapper<MoMo> {
    @HussarDs("TEST02")
    List<MoMo> selectCreateMoreData(String scheduleDateString);

    LocalDateTime selectMaxScheduleDate();

    @HussarDs("TEST02")
    List<MoMo> selectUpdateMoreSchedule(String scheduleDateString);

    List<MesProductOrderInfo> selectUpdateMoreScheduleOrder(List<Long> moMoIdList);
}
